package org.lds.message.center.core.autoconfigure;

import org.lds.message.center.core.DefaultEndpoint;
import org.lds.message.center.core.MessageServiceFinder;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class MessageCenterCoreAutoConfiguration {
    @Bean
    public DefaultEndpoint messageCenterDefaultEndpoint(MessageServiceFinder messageServiceFinder) {
        return new DefaultEndpoint(messageServiceFinder);
    }

    @Bean
    public MessageServiceFinder messageServiceFinder() {
        return new MessageServiceFinder();
    }

}
